import { BaseEntity } from '@cool-midway/core';
import { Column, Index, Entity } from 'typeorm';
/**
 * doupiaopiao配置表
 */
@Entity('doupiaopiao_setting')
export class DoupiaopiaoSettingEntity extends BaseEntity {
  @Column({ comment: '所属模块' })
  model_name: string;

  @Column({ comment: '所属项' })
  option_name: number;

  @Column({
    comment: '值',
    type: 'decimal',
    precision: 10,
    scale: 2,
    default: 0,
  })
  val_data: number;
  @Column({ comment: 'sessionKey', length: 255, nullable: true })
  otherValue: string;
}
